<?
$tmppath="../../";
REQUIRE ($tmppath."include/login.php");
REQUIRE ($tmppath."$templates/up.php");
REQUIRE($tmppath."protect/connect_jeu.php");

require("../fonction.php");
TITRE_JEU("Changer l'historique de votre personnage");

$query ="SELECT perso_history FROM sduser_perso WHERE perso_id=$_PERSO_ID";
$resultat=mysql_query($query);
$row = mysql_fetch_array($resultat);
$description =$row[0];
?>

<form name="form1" method="post" action="option_test.php">
  <div align="center">
    <textarea name="perso" cols="50" rows="10"><?  echo $description;?></textarea>
    <br>
    <br>
    <?

echo"<input name=\"$SID\" type=\"hidden\" id=\"$SID\" value=\"$SID\">";
echo"<input name=\"mode\" type=\"hidden\" id=\"mode\" value=\"historique\">";
echo"<input name=\"userperso\" type=\"hidden\" id=\"userperso\" value=\"$PERSO_ID\">";



	?>
    <input type="submit" name="Submit" value="Envoyer">
  </div>
</form>
</body>
</html>
